j={
    "ru": {
        "latestP":0,
        "minH": 10
    },
    "fu": {
        "latestP":0,
        "minH": 10.0
    },
    "ag": {
        "latestP":0,
        "minH": 20.0
    },
    "rb": {
        "latestP":0,
        "minH": 10.0
    },
    "v": {
        "latestP":0,
        "minH": 10
    },
    "RM": {
        "latestP":0,
        "minH": 8
    },
    "p": {
        "latestP":0,
        "minH": 10
    }
}
for k in j:
    print(k)
    j[k]['aveVol_Num']=10
    j[k]['aveVol_Ration']=2.5
import json
with open('./db.json','w')as f:
    json.dump(j,f)



